---
title: "Agent Lightning"
url: "/docs/projects/Agent Lightning"
canonical_url: "https://docs.litellm.ai/docs/projects/Agent Lightning"
type: "docs"
last_updated: "2026-10-08"
related:
  - "/docs/projects/Google ADK"
  - "/docs/projects/Harbor"
---
# Agent Lightning

> Index of all LiteLLM docs: https://docs.litellm.ai/llms.txt


[Agent Lightning](https://github.com/microsoft/agent-lightning) 是 Microsoft 的開源框架，用於透過強化學習、自動提示詞最佳化與監督式微調來訓練與最佳化 AI 代理程式，且幾乎不需變更程式碼。

它可搭配任何代理程式框架使用，包括 LangChain、OpenAI Agents SDK、AutoGen 和 CrewAI。Agent Lightning 在底層使用 LiteLLM Proxy 來路由 LLM 請求並收集追蹤資料，以支援其訓練演算法。

- [GitHub](https://github.com/microsoft/agent-lightning)
- [文件](https://microsoft.github.io/agent-lightning/)
- [arXiv Paper](https://arxiv.org/abs/2508.03680)

## Related pages

- [Google ADK（Agent Development Kit）](https://docs.litellm.ai/docs/projects/Google ADK.md)
- [Harbor](https://docs.litellm.ai/docs/projects/Harbor.md)
